package com.yvdedu.hospital.entity;

public class User {

	private int id;
	private String userName;
	private String sex;
	private String birthday;
	private String iDCard;
	private String address;
	private String tele;
	private String postCode;
	private String email;
	private int role_id;
	private int dep_id;

	public User(String userName, String sex, String birthday, String iDCard, String address, String tele,
			String postCode, String email, int role_id, int dep_id) {
		super();
		this.userName = userName;
		this.sex = sex;
		this.birthday = birthday;
		this.iDCard = iDCard;
		this.address = address;
		this.tele = tele;
		this.postCode = postCode;
		this.email = email;
		this.role_id = role_id;
		this.dep_id = dep_id;
	}


	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", sex=" + sex + ", birthday=" + birthday + ", iDCard="
				+ iDCard + ", address=" + address + ", tele=" + tele + ", postCode=" + postCode + ", email=" + email
				+ ", role_id=" + role_id + ", dep_id=" + dep_id + "]";
	}


	public int getDep_id() {
		return dep_id;
	}


	public void setDep_id(int dep_id) {
		this.dep_id = dep_id;
	}


	public User() {
	}


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getiDCard() {
		return iDCard;
	}

	public void setiDCard(String iDCard) {
		this.iDCard = iDCard;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTele() {
		return tele;
	}

	public void setTele(String tele) {
		this.tele = tele;
	}

	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getRole_id() {
		return role_id;
	}

	public void setRole_id(int role_id) {
		this.role_id = role_id;
	}


}
